<?php
include_once("conexion.php");
$con = new Conexion;
$miVariable =$_GET['idprovincia'];
$options="";


if($con->conectar()==true){

   	$result = @mysql_query("select * from provincia where PROVINCIA_REGION_ID='".$miVariable."';");
	
	while($fila2=mysql_fetch_array($result)){
    	$options.="<option value='".$fila2['PROVINCIA_ID']."'>".$fila2['PROVINCIA_NOMBRE']."</option>";
	}

	echo utf8_encode($options);
}

?>
	